<div class="content-warp">
  <div class="content-header">
    <span class="content-title">账户积分</span>
  </div>
  <div class="content-body">
    <nz-spin [nzSpinning]="_isSpinning">
      <div class="score-warp">
        <div class="score-layout">账户剩余积分</div>
        <div class="score-number" *ngIf="point != undefined">{{point}}</div>
      </div>
      <div class="score-btns">
        <button nz-button [nzType]="'primary'" [nzSize]="'large'" (click)="toTopUpMoney()">
          <span>充值</span>
        </button>
        <button nz-button [nzType]="'default'" [nzSize]="'large'" routerLink="../top-up">
          <span>明细</span>
        </button>
      </div>
    </nz-spin>
  </div>
</div>

<div class="content-warp">
  <div class="content-header">
    <span class="content-title">基本信息</span>
    <i class="icon iconfont icon-bj" routerLink="user-info-edit"></i>
  </div>
  <div class="content-body">
    <nz-spin [nzSpinning]="_isSpinning_userInfo">
      <div class="userinfo-list">
        <div class="userinfo-item">企业名称：<span *ngIf="merchant_info && merchant_info.company_name">{{merchant_info.company_name}}</span></div>
        <div class="userinfo-item">联系人：<span *ngIf="merchant_info && merchant_info.contacts">{{merchant_info.contacts}}</span></div>
        <div class="userinfo-item">手机号码：<span *ngIf="merchant_info && merchant_info.contacts_mobile">{{merchant_info.contacts_mobile}}</span></div>
        <div class="userinfo-item">企业地区：<span *ngIf="merchant_info && merchant_info.company_address_detail">{{merchant_info.company_address_detail}}</span></div>
        <div class="userinfo-item">经营类目：<span *ngIf="merchant_info && merchant_info.class[0]">{{merchant_info.class[0].first_class.class_name}}</span></div>
      </div>
    </nz-spin>
  </div>
</div>
